﻿using System.Configuration;
using Fingerbrisk.DataSource.FluentDatasourceInteract.Document;
using Fingerbrisk.DataSource.FluentDatasourceInteract.SqlServer;

namespace Fingerbrisk.DataSource.FluentDatasourceInteract
{
    class Program
    {
        static void Main(string[] args)
        {
            using (SqlSource sqlSource = SqlSourceConnector.Connect(System.Configuration.ConfigurationManager.ConnectionStrings["Kalidas"].ConnectionString))
            {
                var result = sqlSource.QueryAs().From("Client").Select("FirstName").OrderBy("FirstName").Execute(null);
            }

            DocParser docParser = new DocParser();
            docParser.Load("ContentDocument.xml");
        }
    }
}
